import functools

import match


# 解决编码错误
def remove_space(func):
    @functools.wraps(func)
    def wrapper(*args, **kwargs):
        return func(*args, **kwargs).replace('\u2005', ' ')

    return wrapper


@remove_space
def get_text(el):
    return el.get_text()


class AutoReplyTool:
    @staticmethod
    def get_target_el(window, log_type, model):
        pass
